<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/11/21
  Time: 21:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>addProduct</title>
</head>
<body>
<%--<privilege:estore user="${user}"/>--%>
<br>
<br>
<form action="addproduct"
      method="post">
    <table border="1" width="65%" align="center" cellpadding="0" cellspacing="0">
        <caption>
            <b>添加商品</b>
        </caption>

        <tr>
            <td>商品名称</td>
            <td><input type="text" name="name"></td>
        </tr>

        <tr>
            <td>商品价格</td>
            <td><input type="text" name="price"></td>
        </tr>
        <tr>
            <td>商品数量</td>
            <td><input type="text" name="num"></td>
        </tr>

        <tr>
            <td>商品图片</td>
            <td><input type="file" name="picture"></td>
        </tr>

        <tr>
            <td>商品描述</td>
            <td><input name="description" rows="10" cols="40"></input>
            </td>
        </tr>

        <tr>
            <td colspan="2" align="center"><input type="submit" value="添加商品"> <input type="reset" value="取消"></td>
        </tr>
    </table>
</form>

</body>
</html>
